
#MAINFILE=CV.tex

all: long short

long: CV.long.pdf
short: CV.short.pdf

%.long.pdf: %.long.tex
	pdflatex $<

%.short.pdf: %.short.tex
	pdflatex $<

%.long.tex: %.tex header.long
	cat header.long $< > $@

%.short.tex: %.tex header.short
	cat header.short $< > $@
